package com.wjh.service;

import org.springframework.stereotype.Component;

@Component
public class PaymentHystrixFallbackService implements PaymentHystrixService{
    @Override
    public String paymentInfo_ok(Integer id) {
        return "------------------------>PaymentHystrixFallbackService +  paymentInfo_ok + fall back ! o(╥﹏╥)o";
    }

    @Override
    public String paymentInfo_timeout(Integer id) {
        return "------------------------>PaymentHystrixFallbackService + paymentInfo_timeout  + fall back ! o(╥﹏╥)o";
    }
}
